package com.marktotop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.marktotop.pojo.Order;
import com.marktotop.pojo.User;
import com.marktotop.vo.GoodsVO;
import org.springframework.data.domain.Sort;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author MarkToTop
 * @since 2021-06-18
 */
public interface IOrderService extends IService<Order> {

    /**
     * 秒杀下单
     *
     * @param user
     * @param goods
     * @return
     */
    Order seckill(User user, GoodsVO goods);
}
